<?php
class Mainpage extends CI_Controller{
	function __construct(){
		parent::__construct();
	}
	function index(){
		echo "It works!";
		$array_items = array('last_activity' => '', 'logged_in' => '', 'user' => '');
		$this->session->unset_userdata($array_items);
		$this->session->sess_destroy();
	}
}
?>